package com.app.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 文章管理
 * </p>
 *
 * @author ghoul
 * @since 2024-12-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("lm_article")
public class Article implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 标题
     */
    private String title;

    /**
     * 内容
     */
    private String content;

    /**
     * 1巡察公告2巡察动态
     */
    private Integer type;

    /**
     * 浏览量
     */
    private Integer viewCount;

    /**
     * 是否禁用0否1是
     */
    private Boolean status;

    /**
     * 是否删除0否1是
     */
    private Boolean isDel;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;


}
